"use strict";

const path = require('path')

function resolve(dir) {
  return path.join(__dirname, dir);
}


module.exports = {
  // publicPath: "./",
  devServer: {
    // https: true,
    port: process.env.PORT
  },
  configureWebpack: {
    resolve: {
      alias: {
        "@": resolve("src")
      }
    }
  } //若该配置文档并没有解决原webpack可配置的问题，可自行配置webpack原生代码
}









/*
{
  ALLUSERSPROFILE: 'C:\\ProgramData',
  APPDATA: 'C:\\Users\\pc\\AppData\\Roaming',
  BABEL_ENV: 'development',
  BSPRINT_CLIENT: 'C:/Users/pc/AppData/Roaming/Brocadesoft',
  CHROME_CRASHPAD_PIPE_NAME: '\\\\.\\pipe\\crashpad_11172_BPVWJFEIENQPQILX',
  COLORTERM: 'truecolor',
  CommonProgramFiles: 'C:\\Program Files\\Common Files',
  'CommonProgramFiles(x86)': 'C:\\Program Files (x86)\\Common Files',
  CommonProgramW6432: 'C:\\Program Files\\Common Files',
  COMPUTERNAME: 'DESKTOP-BGQV8ET',
  ComSpec: 'C:\\Windows\\system32\\cmd.exe',
  DriverData: 'C:\\Windows\\System32\\Drivers\\DriverData',
  FPS_BROWSER_APP_PROFILE_STRING: 'Internet Explorer',
  FPS_BROWSER_USER_PROFILE_STRING: 'Default',
  GIT_ASKPASS: 'd:\\Microsoft VS Code\\resources\\app\\extensions\\git\\dist\\askpass.sh',
  HOME: 'C:\\Users\\pc',
  HOMEDRIVE: 'C:',
  HOMEPATH: '\\Users\\pc',
  INIT_CWD: 'C:\\Users\\pc\\Desktop\\vue\\part-time',
  LANG: 'zh_CN.UTF-8',
  LOCALAPPDATA: 'C:\\Users\\pc\\AppData\\Local',
  LOGONSERVER: '\\\\DESKTOP-BGQV8ET',
  MOZ_PLUGIN_PATH: 'D:\\Foxit Reader\\plugins\\',
  NODE: 'D:\\nodejs\\node.exe',
  NODE_ENV: 'development',
  NODE_EXE: 'D:\\nodejs\\\\node.exe',
  NPM_CLI_JS: 'D:\\nodejs\\\\node_modules\\npm\\bin\\npm-cli.js',
  npm_config_access: '',
  npm_config_allow_same_version: '',
  npm_config_also: '',
  npm_config_always_auth: '',
  npm_config_argv: '{"remain":[],"cooked":["run","dev"],"original":["run","dev"]}',
  npm_config_audit: 'true',
  npm_config_audit_level: 'low',
  npm_config_auth_type: 'legacy',
  npm_config_before: '',
  npm_config_bin_links: 'true',
  npm_config_browser: '',
  npm_config_ca: '',
  npm_config_cache: 'C:\\Users\\pc\\AppData\\Roaming\\npm-cache',
  npm_config_cache_lock_retries: '10',
  npm_config_cache_lock_stale: '60000',
  npm_config_cache_lock_wait: '10000',
  npm_config_cache_max: 'Infinity',
  npm_config_cache_min: '10',
  npm_config_cafile: '',
  npm_config_cert: '',
  npm_config_cidr: '',
  npm_config_color: 'true',
  npm_config_commit_hooks: 'true',
  npm_config_depth: 'Infinity',
  npm_config_description: 'true',
  npm_config_dev: '',
  npm_config_dry_run: '',
  npm_config_editor: 'notepad.exe',
  npm_config_engine_strict: '',
  npm_config_fetch_retries: '2',
  npm_config_fetch_retry_factor: '10',
  npm_config_fetch_retry_maxtimeout: '60000',
  npm_config_fetch_retry_mintimeout: '10000',
  npm_config_force: '',
  npm_config_format_package_lock: 'true',
  npm_config_fund: 'true',
  npm_config_git: 'git',
  npm_config_git_tag_version: 'true',
  npm_config_global: '',
  npm_config_globalconfig: 'C:\\Users\\pc\\AppData\\Roaming\\npm\\etc\\npmrc',
  npm_config_globalignorefile: 'C:\\Users\\pc\\AppData\\Roaming\\npm\\etc\\npmignore',
  npm_config_global_style: '',
  npm_config_group: '',
  npm_config_ham_it_up: '',
  npm_config_heading: 'npm',
  npm_config_https_proxy: '',
  npm_config_if_present: '',
  npm_config_ignore_prepublish: '',
  npm_config_ignore_scripts: '',
  npm_config_init_author_email: '',
  npm_config_init_author_name: '',
  npm_config_init_author_url: '',
  npm_config_init_license: 'ISC',
  npm_config_init_module: 'C:\\Users\\pc\\.npm-init.js',
  npm_config_init_version: '1.0.0',
  npm_config_json: '',
  npm_config_key: '',
  npm_config_legacy_bundling: '',
  npm_config_link: '',
  npm_config_local_address: '',
  npm_config_loglevel: 'notice',
  npm_config_logs_max: '10',
  npm_config_long: '',
  npm_config_maxsockets: '50',
  npm_config_message: '%s',
  npm_config_metrics_registry: 'https://registry.npmjs.org/',
  npm_config_node_gyp: 'D:\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js',
  npm_config_node_options: '',
  npm_config_node_version: '14.15.4',
  npm_config_noproxy: '',
  npm_config_offline: '',
  npm_config_onload_script: '',
  npm_config_only: '',
  npm_config_optional: 'true',
  npm_config_otp: '',
  npm_config_package_lock: 'true',
  npm_config_package_lock_only: '',
  npm_config_parseable: '',
  npm_config_prefer_offline: '',
  npm_config_prefer_online: '',
  npm_config_prefix: 'C:\\Users\\pc\\AppData\\Roaming\\npm',
  npm_config_preid: '',
  npm_config_production: '',
  npm_config_progress: 'true',
  npm_config_proxy: '',
  npm_config_read_only: '',
  npm_config_rebuild_bundle: 'true',
  npm_config_registry: 'https://registry.npmjs.org/',
  npm_config_rollback: 'true',
  npm_config_save: 'true',
  npm_config_save_bundle: '',
  npm_config_save_dev: '',
  npm_config_save_exact: '',
  npm_config_save_optional: '',
  npm_config_save_prefix: '^',
  npm_config_save_prod: '',
  npm_config_scope: '',
  npm_config_scripts_prepend_node_path: 'warn-only',
  npm_config_script_shell: '',
  npm_config_searchexclude: '',
  npm_config_searchlimit: '20',
  npm_config_searchopts: '',
  npm_config_searchstaleness: '900',
  npm_config_send_metrics: '',
  npm_config_shell: 'C:\\Windows\\system32\\cmd.exe',
  npm_config_shrinkwrap: 'true',
  npm_config_sign_git_commit: '',
  npm_config_sign_git_tag: '',
  npm_config_sso_poll_frequency: '500',
  npm_config_sso_type: 'oauth',
  npm_config_strict_ssl: 'true',
  npm_config_tag: 'latest',
  npm_config_tag_version_prefix: 'v',
  npm_config_timing: '',
  npm_config_tmp: 'C:\\Users\\pc\\AppData\\Local\\Temp',
  npm_config_umask: '0000',
  npm_config_unicode: '',
  npm_config_unsafe_perm: 'true',
  npm_config_update_notifier: 'true',
  npm_config_usage: '',
  npm_config_user: '',
  npm_config_userconfig: 'C:\\Users\\pc\\.npmrc',
  npm_config_user_agent: 'npm/6.14.10 node/v14.15.4 win32 x64',
  npm_config_version: '',
  npm_config_versions: '',
  npm_config_viewer: 'browser',
  npm_execpath: 'D:\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
  npm_lifecycle_event: 'dev',
  npm_lifecycle_script: 'vue-cli-service serve',
  npm_node_execpath: 'D:\\nodejs\\node.exe',
  npm_package_dependencies_core_js: '^3.6.5',
  npm_package_dependencies_vue: '^3.0.0',
  npm_package_dependencies_vuex: '^4.0.0-0',
  npm_package_dependencies_vue_router: '^4.0.0-0',
  npm_package_description: '## Project setup ``` yarn install ```',
  npm_package_devDependencies_babel_eslint: '^10.1.0',
  npm_package_devDependencies_eslint: '^6.7.2',
  npm_package_devDependencies_eslint_plugin_vue: '^7.0.0-0',
  npm_package_devDependencies_less: '^3.0.4',
  npm_package_devDependencies_less_loader: '^5.0.0',
  npm_package_devDependencies__vue_cli_plugin_babel: '~4.5.0',
  npm_package_devDependencies__vue_cli_plugin_eslint: '~4.5.0',
  npm_package_devDependencies__vue_cli_plugin_router: '~4.5.0',
  npm_package_devDependencies__vue_cli_plugin_vuex: '~4.5.0',
  npm_package_devDependencies__vue_cli_service: '~4.5.0',
  npm_package_devDependencies__vue_compiler_sfc: '^3.0.0',
  npm_package_gitHead: '954d8b20a214bf22b630c7695fb2601357f2921e',
  npm_package_name: 'part-time2',
  npm_package_private: 'true',
  npm_package_readmeFilename: 'README.md',
  npm_package_scripts_build: 'vue-cli-service build',
  npm_package_scripts_dev: 'vue-cli-service serve',
  npm_package_scripts_lint: 'vue-cli-service lint',
  npm_package_version: '0.1.0',
  NPM_PREFIX_NPM_CLI_JS: 'C:\\Users\\pc\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js',
  NUMBER_OF_PROCESSORS: '8',
  OneDrive: 'C:\\Users\\pc\\OneDrive',
  ORIGINAL_XDG_CURRENT_DESKTOP: 'undefined',
  OS: 'Windows_NT',
  Path: 'D:\\nodejs\\node_modules\\npm\\node_modules\\npm-lifecycle\\node-gyp-bin;C:\\Users\\pc\\Desktop\\vue\\part-time\\node_modules\\.bin;D:\\Xshell 6\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;D:\\nodejs\\;D:\\TortoiseSVN\\bin;C:\\Git\\cmd;C:\\Program Files\\TortoiseGit\\bin;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Users\\pc\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\pc\\AppData\\Roaming\\npm;D:\\Microsoft VS Code\\bin;D:\\Bandizip\\',
  PATHEXT: '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JSE;.WSF;.WSH;.MSC;.CPL',
  PORT: '8099',
  PROCESSOR_ARCHITECTURE: 'AMD64',
  PROCESSOR_IDENTIFIER: 'Intel64 Family 6 Model 94 Stepping 3, GenuineIntel',
  PROCESSOR_LEVEL: '6',
  PROCESSOR_REVISION: '5e03',
  ProgramData: 'C:\\ProgramData',
  ProgramFiles: 'C:\\Program Files',
  'ProgramFiles(x86)': 'C:\\Program Files (x86)',
  ProgramW6432: 'C:\\Program Files',
  PROMPT: '$P$G',
  PSModulePath: 'C:\\Users\\pc\\Documents\\WindowsPowerShell\\Modules;C:\\Program Files\\WindowsPowerShell\\Modules;C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules',
  PUBLIC: 'C:\\Users\\Public',
  SESSIONNAME: 'Console',
  SystemDrive: 'C:',
  SystemRoot: 'C:\\Windows',
  TEMP: 'C:\\Users\\pc\\AppData\\Local\\Temp',
  TERM_PROGRAM: 'vscode',
  TERM_PROGRAM_VERSION: '1.54.0',
  TMP: 'C:\\Users\\pc\\AppData\\Local\\Temp',
  USERDOMAIN: 'DESKTOP-BGQV8ET',
  USERDOMAIN_ROAMINGPROFILE: 'DESKTOP-BGQV8ET',
  USERNAME: 'pc',
  USERPROFILE: 'C:\\Users\\pc',
  VSCODE_GIT_ASKPASS_MAIN: 'd:\\Microsoft VS Code\\resources\\app\\extensions\\git\\dist\\askpass-main.js',
  VSCODE_GIT_ASKPASS_NODE: 'D:\\Microsoft VS Code\\Code.exe',
  VSCODE_GIT_IPC_HANDLE: '\\\\.\\pipe\\vscode-git-59243fa219-sock',
  windir: 'C:\\Windows',
  ZES_ENABLE_SYSMAN: '1'
}



*/